<!DOCTYPE html>
<html lang="en" class="no-js" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="layout">
<head>
<title>订单管理</title>
</head>
<body>
<div layout:fragment="content">
	<div class="row">
		<div class="table-toolbar col-md-12">
				<div class="col-md-12 col-sm-12">
					 <form role="" class="form-inline" th:action="@{/orderInfo/index}" th:object="${orderSearch}" method="post" >
					 		<div class="form-group">
					 			<label class="sr-only" for="orderInfoNumber">Name</label>
					 			<input type="text" name="orderInfoNumber" th:field="*{orderInfoNumber}" placeholder="订单号"  id="orderInfoNumber" class="form-control"/>
					 		</div>
					 		<div class="form-group">
					 			<label class="sr-only" for="orderusername">Name</label>
					 			<input type="text" name="orderusername" th:field="*{orderusername}" style="width:80px;" placeholder="会员名"  id="orderusername" class="form-control"/>
					 		</div>
					 		<div class="form-group">
					 			<label class="sr-only" for="orderInfoStatus">Name</label>
					 			<select th:field="*{orderInfoStatus}" name = "orderInfoStatus" id="orderInfoStatus" style="width:95px;"  th:remove="none" class="form-control">
					                	<option value="">全部</option>
					                	<option value="UNCONFIRMED">待确认</option>
					                	<option value="NONPAYMENT">待付款</option>
					                	<option value="NONSHIPPED">待发货</option>
					                	<option value="RECEIVED">已收货</option>
					                	<option value="CANCEL">已关闭</option>
					                	<option value="RETURNS">已退货</option>
					            </select>
					 		</div>
					 		<div class="checkbox">
					 			<label>
					 				<input type="checkbox" th:field="*{integral}" id="integral" name="integral" value="show"/>积分抵现
					 			</label>
					 		</div>
					 		<div class="checkbox">
					 			<label>
					 				<input type="checkbox" th:field="*{needShipping}" id="needShipping" name="needShipping" value="show"/>两天前未发货订单(紧急)
					 			</label>
					 		</div>
					 		<div class="checkbox">
					 			<label>
					 				<input type="checkbox" th:field="*{purchasing}" id="purchasing" name="purchasing" value="show"/>是否代购
					 			</label>
					 		</div>
						 	<button type="submit" id="bt_search" name="bt_search" class="btn green"><i class="fa  fa-search"></i></button>
                     </form>
			   </div>
		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<div id = "div_orderInfos_grid" th:include="orderInfo/orderInfos_table">
		
			</div>
		</div>
	</div>
<script th:src="@{/plugins/data-tables/jquery.dataTables.min.js}" src="/plugins/data-tables/jquery.dataTables.min.js" type="text/javascript"></script>
<script th:src="@{/plugins/data-tables/DT_bootstrap.js}" src="/plugins/data-tables/DT_bootstrap.js" type="text/javascript"></script>
</div>
</body>
</html>